/**
*  Copyright 2002 Sun Microsystems, Inc. All rights reserved.
*/

/**
 *Title Person
 * @author xiaofei
 *@version 1.0
 */
package person;
public class Person {
	protected String name;
	protected String address;
	protected String telephone;
	protected String email;
	
	public Person()
	{
		this.name = null;
		this.address = null;
		this.telephone = null;
		this.email = null;
	}
	
	public Person(String name, String address, String telephone, String email)
	{
		this.name = name;
		this.address = address;
		this.telephone = telephone;
		this.email  = email;
	}
	
	public String toString()
	{
		return "This person's name is " + this.name + " and address is " + this.address + 
				" and telephone is " + this.telephone + " and email is " + this.email + ".";
	}
}
